package com.osgix.demo.jms.demo2;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class JmsDemo {

	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext(
				new String[] {"classpath:spring/jms/jms.xml", });
		JmsQueueSender jmsQueueSender = (JmsQueueSender) context.getBean("jmsQueueSender");
		jmsQueueSender.sendWithConversion();
	}

}
